package com.kfm.am;

public class StudentTest {

    public static void main(String[] args) {
        // 创建学生对象
        Student stu1 = new Student();
        stu1.setName("林尼");
        stu1.setStudentId(1);
        stu1.setAge(23);
        stu1.setScore(89.0);

        System.out.println(stu1.info());

        Student stu2 = new Student("林尼特", 20, 2, 97.1);
        System.out.println(stu2.info());
    }
}
